package com.huilian.iotbox.admin.wap.service.impl;

import com.huilian.iotbox.admin.wap.dao.CommodityProjectUpDownDao;
import com.huilian.iotbox.admin.wap.service.CommodityProjectUpDownService;
import com.huilian.iotbox.data.dto.CommodityProjectUpDownDto;
import com.huilian.iotbox.data.vo.CommodityProjectUpDownVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CommodityProjectUpDownServiceImpl implements CommodityProjectUpDownService {

    @Resource
    private CommodityProjectUpDownDao commodityProjectUpDownDao;

    @Override
    public int insert(CommodityProjectUpDownDto cpudd) {
        return commodityProjectUpDownDao.insert(cpudd);
    }


    @Override
    public int delete(Long id) {
        return commodityProjectUpDownDao.delete(id);
    }
}
